Print PIN/PIN and Solicitation Data

Command:

Print the PIN/PIN and solicitation data at the HSM-attached terminal.

Notes:

The HSM must be in the Authorised state.

A printer must be attached to the HSM Printer port or Auxiliary port.

The HSM must have a print format already defined.

The ESCON option does not return the second response message is delayed until after printing has been completed. This is because the channel protocol allows only one response per request.

 

Field

Length & Type

Details


COMMAND MESSAGE

Message header

m A

(Subsequently returned to the Host unchanged).

Command code

2 A

Value PE.

Document type

1 A

A : for 1st mailer on a 2-up form

B : for 2nd mailer on a 2-up form

C : for a 1-up form

Account number

12 N

The 12 right-most digits of the account number, excluding the check digit.

PIN

L N or LH

The PIN encrypted under LMK pair 02-03.

Print Field 0

n A

The print field defined as Print Field 0 in the print format definition (must not contain a “;” character).

Delimiter

1 A

Value “;”

Print Field 1

n A

The print field defined as Print Field 1 in the print format definition (must not contain a “;” character).

.

.

.

.

.

.

.

.

.

Last print field

n A

The last print field defined in the print format definition (must not contain a “;” character).

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.


 

Field

Length & Type

Details


RESPONSE MESSAGE (before printing)

Message header

n A

Returned to the Host unchanged.

Response code

2 A

Value PF.

Error code

2 N

00 : No errors

13 : LMK error; report to supervisor

14 : Error in PIN from Host

15 : Error in input data

16 : Printer not ready

17 : Not in the Authorized state

18 : Document definition not loaded

PIN and reference number check value

L+ 12 N

The cryptographic check on the PIN and solicitation reference number.

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE (after printing)

Message header

n A

Returned to the Host unchanged.

Response code

2 A

Value PZ.

Error code

2 N

00 : No errors

End message delimiter

1 C

Present only if present in the command message. Value X’19.

Message trailer

n A

Present only if present in the command message. Maximum length 32 characters.